import { defineStore } from 'pinia'

export const useCollapsedStore = defineStore('collapsed', {
  state: () => ({
    collapsed: false as boolean,
  }),
  actions: {
    setCollapsed(collapsed: boolean) {
      this.collapsed = collapsed
    },
  },
  getters: {
    currentLanguage: (state) => state.collapsed,
  },
})
